package com.kitty.game.task.model.product.targetparam;

import com.kitty.game.task.model.product.TaskTargetParam;
import org.nutz.lang.util.NutMap;

import java.util.List;

public class GatherTargetParam extends TaskTargetParam {
    private List<Integer> ids;

    @Override
    public TaskTargetParam parseParam(NutMap nutMap) {
        ids = nutMap.getAsList("ids", Integer.class);
        return this;
    }

    public List<Integer> getIds() {
        return ids;
    }
}
